Use standard cursor names for DND
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 20:36:32 +0000 (15:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 23:11:07 +0000 (18:11 -0500)
At least as far as we have them. CSS has on equivalent of dnd-ask,
so we keep using that name as-is.

gtk/gtkdnd.c

index e219dd568929baf2a37c76381ef74f651f784bea..0907fd91169ef473b8ad33a1e7394e80b03c0b17 100644 (file)
@@ -275,10 +275,10 @@ static struct {
 } drag_cursors[] = {
   { GDK_ACTION_DEFAULT, NULL },
   { GDK_ACTION_ASK,   "dnd-ask",  NULL, NULL },
-  { GDK_ACTION_COPY,  "dnd-copy", NULL, NULL },
-  { GDK_ACTION_MOVE,  "dnd-move", NULL, NULL },
-  { GDK_ACTION_LINK,  "dnd-link", NULL, NULL },
-  { 0              ,  "dnd-none", NULL, NULL },
+  { GDK_ACTION_COPY,  "copy", NULL, NULL },
+  { GDK_ACTION_MOVE,  "move", NULL, NULL },
+  { GDK_ACTION_LINK,  "alias", NULL, NULL },
+  { 0              ,  "no-drop", NULL, NULL },
 };
 
 /*********************